package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

/**
 * 现金礼包预下单日志
 */
@FieldTypeAnnotation(tableName = "t_l_ck_trigger_rmb_mall_precharge", desc = "现金礼包预下单日志", autoSave = true, uploadCk = true)
public class LogTriggerRMBMallPrecharge extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "活动id")
    private int activityId;
    @FieldTypeAnnotation(desc = "商品id")
    private int mallId;
    @FieldTypeAnnotation(desc = "订单号")
    private String orderNo;
    @FieldTypeAnnotation(desc = "价格")
    private long price;

    public LogTriggerRMBMallPrecharge(long userId, int activityId, int mallId, String orderNo, long price) {
        this.userId = userId;
        this.activityId = activityId;
        this.mallId = mallId;
        this.orderNo = orderNo;
        this.price = price;
    }

    public long getUserId() {
        return userId;
    }
}
